public class Test {
    public static void main(String[] args) {
        //掌握Object-api常用方法
        Student s = new Student("小张", 27);
        System.out.println(s.toString());

        Student s1 = new Student("小张", 27);
        boolean data = s1.equals(s);
        System.out.println(data);
    }
}
